//
//  DetailDataBase.h
//  NewProject
//
//  Created by dlios on 15/3/9.
//  Copyright (c) 2015年 dlios. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <sqlite3.h>
#import "DetailModel.h"

@interface DetailDataBase : NSObject

+(instancetype)shareDetailDataBaseHandle;
-(void)openDB;
-(void)createTable;
-(void)insertDetail:(DetailModel *)detail;
-(void)deleteDetail:(NSInteger)number;
-(NSMutableArray *)selectDetail;
-(void)deleteAllObject;
-(void)deleteTable;


@end
